package com.example.easycharge.repository;

import com.example.easycharge.entity.Configuration;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ConfRepository extends JpaRepository<Configuration,Long> {

    List<Configuration> findAll();
    int countByConfigurationID(long confId);
}
